package com.yunji.base.provide;

import com.yunji.base.dto.AgentDTO;
import com.yunji.base.service.AgentService;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

/**
 * @author : peter-zhu
 * @date : 2024/12/12 15:34
 * @description : TODO
 **/
@Component
public class BaseDataAgentProvide {
    @Resource
    AgentService agentService;

    public AgentDTO selectAgent(Long agentId) {
        return agentService.select(agentId);
    }
}
